package com.example.administrator.exkotlin.broadcast

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import android.widget.Toast

/**
 * 静态广播监听开机
 * */
class RebootReceiver : BroadcastReceiver() {


    override fun onReceive(context: Context, intent: Intent) {
        Toast.makeText(context, "开机完成", Toast.LENGTH_SHORT).show()
        Log.e("RebootAction", "开机完成")
    }
}
